{include file="header.html"}
<div class="row">
<div class="span12">

{include file="koudai_order/nav.html"}
<table class="table table-bordered" width="100%">
<tr>
	<td>订单编号：{$data.orderno}</td>
    <td>{if $data.isreceived eq 2}<span >用户已收货</span>{else}<span>用户未收货</span>{/if}</td>
    <td>订单价格：{$data.money} (会员优惠：{$data.discount_money})</td>
</tr>

<tr>
	<td>下单时间：{$data.dateline|date:Y-m-d H:i}</td>
	<td>支付状况：{$order_ispay[$data.ispay]}   {if $data.unpay}货到付款{/if}</td>
    <td>订单状态：{$order_status_list[$data.status]}  {$data.whocancel}</td>
</tr>

 
<tr><td colspan="3">备注：{$data.comment}</td></tr>
<tr><td colspan="3"><strong>联系方式:</strong>
{$addr.p_c_t} 宿舍：{$addr.sushe}     姓名：{$addr.truename} 手机：{$addr.telephone} &nbsp;
 
 
</td></tr>

<tr>
<td colspan="3"><strong>发货方式：</strong></td>
</tr>

<tr>
<td colspan="3"><strong>物流信息：</strong>{$data.shipping_info}</td>
</tr>
</table>

<h3 class="index-hd">商品详情</h3>
<table class="table table-bordered" width="100%">
{foreach item=p from=$order_product}
<tr>
<td style="width:50px;"><img src="{$p.imgurl|images_site}.100x100.jpg" width="50" /></td>
<td><p>{$p.title}<br />
 
原价：￥{$p.price} 促销价：{$p.lower_price}</p></td>
<td>下单价：{$p.order_price}</td>
<td>共{$p.amount}件</td>
</tr>
{/foreach}
</table>
 
   {if $data.status lt 3}
  <form method="post" action="{$appadmin}?m=koudai_order&a=cancel" class="form form-inline " onsubmit="return confirm('订单取消后不可恢复，并且会将订单金额返还给客户，确认取消吗？');">
    <input type="hidden" name="order_id" value="{$data.order_id}" />
    <table class="table table-bordered">
      <tr>
        <td  width="40"> 取消<br />
          订单 </td>
        <td><div class="input-row">
            <label>原因</label>
            <input type="text" name="message" value="订单有问题" class="w98" />
          </div>
          <div class="input-row">
            <label>操作日志</label>
            <input type="text" name="content" value="{$admin.username}取消订单了" class="w98" />
          </div>
          <button type="submit" class="btn btn-row btn-success">订单取消</button></td>
      </tr>
    </table>
  </form>
  {/if}
 
</div>

</div>

{include file="footer.html"}